uploadData

Sets the upload data as a sequence of bytes that will be sent to the resource.

Sends POST data as bytes with application/octet-stream content type. Use addExtraHeader to override the content type.

Return

this builder

Since

7.29

Parameters

data

the upload data as a sequence of bytes


Sets the upload data in the text/plain format that will be sent to the resource.

The content type configured with addExtraHeader is ignored.

Return

this builder

Since

7.29

Parameters

data

the upload data in the text/plain format


Sets the upload data in the application/x-www-form-urlencoded format that will be sent to the resource.

The content type configured with addExtraHeader is ignored.

Return

this builder

Since

7.29

Parameters

data

the upload data in the application/x-www-form-urlencoded format


Sets the upload data in the multipart/form-data format that will be sent to the resource.

The content type configured with addExtraHeader is ignored.

Return

this builder

Since

7.29

Parameters

data

the upload data in the multipart/form-data format